﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class LoopBall : MonoBehaviour
{
    public Text[] btnList;
    public int[] curData = null;

    public void SetData(int[] data)
    {
        curData = data;
    }

    public void OnInit()
    {
        for (int i = 0; i < 5; i++)
        {
            btnList[i].text = curData[i].ToString();
        }
    }
}